package com.app.modules.code.mapper;

import com.app.common.aop.DataSource;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;


public interface TestMapper {

    @DataSource(value = "test-3")
    @Select("select * from goods")
    List<Map<String,Object>> findAllgoods();

    @DataSource(value = "webapp-4")
    @Select("select * from tb_user")
    List<Map<String,Object>> findAlluser();

    @DataSource(value = "dataservice-1")
    @Select("select * from t_user")
    List<Map<String,Object>> findAlldataserviceuser();

    @DataSource(value = "test-3")
    @Select("select * from order_record")
    List<Map<String,Object>> findAllorderRecord();









}
